package com.ricchieri.manage.bean;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import com.ricchieri.model.User;

@ManagedBean(name = "editPassengerReservationMB")
@ViewScoped
public class EditPassengerReservationManageBean extends EditUserManageBean {

	private static final long serialVersionUID = -3389982664588609204L;

	@PostConstruct
	@Override
	public void init() {
	}
	
	public void setPassanger(User user) {
		this.setUser(user);
		this.loadUserData();
	}
	
	@Override
	protected String getFormName() {
		return "editUserForm";
	}
}

